package router

import (
	"github.com/gin-gonic/gin"
	"week4/retailers/api-client/basic/api/hander"
)

func LoadRand(r *gin.Engine) {
	shop := r.Group("/shop")
	{
		shop.POST("/list", hander.List)
		shop.POST("/info", hander.Info)
		shop.POST("/add", hander.Add)
		shop.POST("/upload", hander.Upload)
	}

}
